package com.whq.thrift.api.web.base.serviceconf.service;

import java.util.List;
import java.util.Map;

import com.whq.thrift.api.web.base.serviceconf.db.ModuleInfo;


public interface ModuleInfoService {
	public void addRecord(ModuleInfo record);

	public List<ModuleInfo> findRecordsByMap(String moduleId, int beginIndex, int maxCount);

	public void updateRecord(ModuleInfo record);

	public void deleteRecord(String id);

	public int findRecordCount(String moduleId);

	public ModuleInfo findRecordById(String id);
	
	public List<ModuleInfo> findIsGateWayRecords(int isGateWay, int moduleStatus);
}
